package com.gs.common.global

import com.gs.common.data.CartData
import com.gs.common.listener.DataListener
import com.gs.common.observal.ValueObserval
import com.gs.common.data.Good
import com.gs.common.data.Order
import com.gs.common.data.User

object GlobalVariables {

    var loginUser: User? = null

    var goodsList: List<Good>? = null

    var businessInfo: User? = null

    var dataListener: DataListener? = null

    var cartDataList: List<CartData>? = null

    var orderDataList: List<Order>? = null

    var addGoodImgPath: String? = null

    var updateGood: Good? = null

    var goodSoldCount: Int = 0

    var token: String = ""

    var curCartOrderId: Int = -1

    var deleteSingle = ValueObserval<Boolean>()
}